module.exports = {
  devServer: {
    open: true,
    host: "localhost",
    port: 4200,
    https: false,
    hotOnly: false,
    // http 代理配置
    proxy: {
      "/turn": {
        //
        target: "http://49.0.205.148:7070",
        // target: process.env.VUE_APP_BASE_API,
        changeOrigin: true,
        pathRewrite: {
          "^/turn": "",
        },
      },
    },
  },
};
// 配置跨域 还可以 服务器配置白名单，直接让其访问